#include <iostream>
#include "Employee.h"
#include "Owner.h"
#include "Restaurant.h"
#include <string>

using namespace std;
int main(int argc, const char * argv[])
{
	Restaurant* res = new Restaurant(6000, 1000, 1500, 1700);
	res->addOwner("KK", 1);
	res->addChiefI("Long", 2, "French", 1);
	res->addChiefI("Long", 3, "Maroc", 2);
	res->addWaiterI("AA", 4, 1000, 1);
	res->addWaiterI("BB", 5, 1500, 2);
	res->addWaiterI("CC", 6, 1700, 3);
	res->caculateSalary();
	cout << endl;
    cout << res->getEmployeeSalary(0) << endl;
    return 0;
}